import {
	request
} from "@/utils/request.js"

// 上传个人荣誉
export const upHonorData = async (query) => {
	let data = await request({
		headers: {
			isToken: true,
		},
		url: '/ht-user/honorCheck/uploadHonorCheck',
		method: "POST",
		data: query
	})
	return data
}


//上传图片
// export const upHonorImage = async (FormDatas,type) => {
// 	console.log(FormDatas)
// 	let data = await request({
// 		headers: {
// 			isToken: true,
// 		},
// 		url: '/ht-user/user/upload',
// 		method: "POST",
// 		data:{file:FormDatas,type:type},
// 		responseType: 'blob'
// 	})
// 	return data
// }